export default {
  menus: [
    {
      key: 'system',
      text: '系统管理',
      icon: 'setting',
      defaultOpen: true,
      pages: [
        '/system/dict',
        '/system/employee',
        '/system/role'
      ]
    },
  ],
  files: {
    resolve(path) {
      if (path && path.startsWith('disk:')) {
        path = path.substring('disk:'.length);
        return '/api/files/' + path.replace(/^\//, '');
      }
    },
  },
}
